GtkNativeDialog: Fix modal handling in gtk_native_dialog_run()
authorAlexander Larsson <alexl@redhat.com>
Wed, 11 Nov 2015 14:12:45 +0000 (15:12 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 11 Nov 2015 14:14:40 +0000 (15:14 +0100)
gtk/gtknativedialog.c

index b56d3718406303d510d722e47a9be9fff69291c5..d67047c591ffa6668abcae40f8de94c306d8935b 100644 (file)
@@ -607,7 +607,7 @@ gtk_native_dialog_run (GtkNativeDialog *self)
   priv->run_loop = g_main_loop_new (NULL, FALSE);
 
   was_modal = priv->modal;
-  gtk_native_dialog_set_modal (self, FALSE);
+  gtk_native_dialog_set_modal (self, TRUE);
 
   response_handler =
     g_signal_connect (self,